package com.example.csmall.product.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class BrandAddNewDTO implements Serializable {
    @NotNull(message = "品牌名称不能为空")
    @NotBlank(message = "空格字符也是不行滴")
    private String name;
    private String pinyin;
    private String logo;
    private String description;
    private String keywords;
    private Integer sort;
    private Integer enable;
}
